import { createApp } from 'vue';
import App from './App.vue';
import './utils/rem';
import '@/assets/style/reset.css';
import router from '@/router';

import {
  Tab,
  Tabs,
  Popup,
  Swipe,
  SwipeItem,
  Button,
  Form,
  Field,
  CellGroup,
  Grid,
  GridItem,
  NavBar,
} from 'vant';

const app = createApp(App);
app.use(Tab);
app.use(Tabs);
app.use(Popup);
app.use(Swipe);
app.use(SwipeItem);
app.use(Button);
app.use(Form);
app.use(Field);
app.use(CellGroup);
app.use(Grid);
app.use(GridItem);
app.use(NavBar);

app.use(router);
app.mount('#app');
